//
//  TraderMoneyDetailCell.m
//  WGFGlobalHouses
//
//  Created by zhouhui on 15/4/19.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//   分销商 －－佣金明细cell

#import "TraderMoneyDetailCell.h"

@implementation TraderMoneyDetailCell


- (IBAction)clickBtn:(UIButton *)sender
{
    NSInteger tag = sender.tag;
    if (self.delegate && [self.delegate respondsToSelector:@selector(traderMoneyDetailCellClickBtnWithBtnTag:)])
    {
        [self.delegate traderMoneyDetailCellClickBtnWithBtnTag:tag];
    }
    
}

+(instancetype)cellWithTableView:(UITableView *)tableView;
{
    static NSString *ID = @"traderMoneyDetailCell";
    TraderMoneyDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (cell == nil)
    {
        cell = [[[NSBundle mainBundle]loadNibNamed:@"TraderMoneyDetailCell" owner:nil options:nil]lastObject];
    }
        return cell;

    
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
